package dk.marten;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;

public class DotBasis {

	public Paint paint;
	public float x = 20;
	public float y = 20;
	public int radius = 2;
	public RectF bounds;
	
	public DotBasis() {
		bounds = new RectF();
		paint = new Paint();
		paint.setAntiAlias(true);
		paint.setStyle(Paint.Style.FILL);
		paint.setColor(Color.rgb(250,250,250));
	}
	
	public void draw(Canvas currentCanvas) {
		bounds.set(x-radius, y-radius, x+radius, y+radius);
		currentCanvas.drawOval(bounds, paint);
	}
}
